package com.hr.hrto;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 黄瑞
 * @Date: 2022/07/04/14:30
 * @Description:启动类
 * @version:1.0
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
public class HuangruiApplication {
    public static void main(String[] args) {
        SpringApplication. run(HuangruiApplication.class,args);
        log.info("项目已启动...");
    }
}
